
<?php
//echo phpinfo();
 require("db.php");
 $h_name=$_POST["h_name"];
 $h_type=$_POST["h_type"];
 $h_lianxi=$_POST["h_lianxi"];
 $h_date=$_POST["h_date"];
 $h_address=$_POST["h_address"];
 $h_addressLine=$_POST["h_addressLine"];
 $h_lastDate=$_POST["h_lastDate"];
 $h_money=$_POST["h_money"];
 $h_renshu=$_POST["h_renshu"];
 $h_desc=$_POST["h_desc"];
 

addHudong($h_name,$h_type,$h_lianxi,$h_date,$h_address,$h_addressLine,$h_lastDate,$h_money,$h_renshu,$h_desc);




function addHudong($h_name,$h_type,$h_lianxi,$h_date,$h_address,$h_addressLine,$h_lastDate,$h_money,$h_renshu,$h_desc)
{
	
	$sql="insert  jh_huodong (h_name,h_type,h_lianxi,h_date,h_address,h_addressLine,h_lastDate,h_money,h_renshu,h_desc)";
	$sql=$sql." values ('".$h_name."','".$h_type."','".$h_lianxi."','".$h_date."','".$h_address."','".$h_addressLine."','";
	$sql=$sql.$h_lastDate."','".$h_money."','".$h_renshu."','".$h_desc."')";
	
	exeSql($sql,"add huo dong!".$sql);	
		
}



?>
